package com.yjc.drygoods.member.exception;

import org.springframework.stereotype.Component;

/**
 * @author yjc
 * @create 2022-09-18 9:21
 */
public class UserNameExitException extends RuntimeException {
    public UserNameExitException() {
        super("会员用户名已存在");
    }

    public UserNameExitException(String message) {
        super(message);
    }

    public UserNameExitException(String message, Throwable cause) {
        super(message, cause);
    }

    public UserNameExitException(Throwable cause) {
        super(cause);
    }

    protected UserNameExitException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
